<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>fdk-aac: original/libSBRenc/src/ton_corr.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">fdk-aac
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_ed137715e08969a186ec660e8ae6e2fb.html">original</a></li><li class="navelem"><a class="el" href="dir_ed04b364c633b7d989cbbfdbe7d82d9c.html">libSBRenc</a></li><li class="navelem"><a class="el" href="dir_503efe22260b46e9073f09b8bee50978.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">ton_corr.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="ton__corr_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/* -----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">Software License for The Fraunhofer FDK AAC Codec Library for Android</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">© Copyright  1995 - 2018 Fraunhofer-Gesellschaft zur Förderung der angewandten</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">Forschung e.V. All rights reserved.</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> 1.    INTRODUCTION</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">The Fraunhofer FDK AAC Codec Library for Android (&quot;FDK AAC Codec&quot;) is software</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">that implements the MPEG Advanced Audio Coding (&quot;AAC&quot;) encoding and decoding</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">scheme for digital audio. This FDK AAC Codec software is intended to be used on</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">a wide variety of Android devices.</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">AAC&#39;s HE-AAC and HE-AAC v2 versions are regarded as today&#39;s most efficient</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">general perceptual audio codecs. AAC-ELD is considered the best-performing</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">full-bandwidth communications codec by independent studies and is widely</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">deployed. AAC has been standardized by ISO and IEC as part of the MPEG</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">specifications.</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment">Patent licenses for necessary patent claims for the FDK AAC Codec (including</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment">those of Fraunhofer) may be obtained through Via Licensing</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment">(www.vialicensing.com) or through the respective patent owners individually for</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment">the purpose of encoding or decoding bit streams in products that are compliant</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment">with the ISO/IEC MPEG audio standards. Please note that most manufacturers of</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment">Android devices already license these patent claims through Via Licensing or</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment">directly from the patent owners, and therefore FDK AAC Codec software may</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment">already be covered under those patent licenses when it is used for those</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment">licensed purposes only.</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="comment">Commercially-licensed AAC software libraries, including floating-point versions</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="comment">with enhanced sound quality, are also available from Fraunhofer. Users are</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="comment">encouraged to check the Fraunhofer website for additional applications</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="comment">information and documentation.</span></div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="comment">2.    COPYRIGHT LICENSE</span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="comment">Redistribution and use in source and binary forms, with or without modification,</span></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="comment">are permitted without payment of copyright license fees provided that you</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="comment">satisfy the following conditions:</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="comment">You must retain the complete text of this software license in redistributions of</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="comment">the FDK AAC Codec or your modifications thereto in source code form.</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="comment">You must retain the complete text of this software license in the documentation</span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="comment">and/or other materials provided with redistributions of the FDK AAC Codec or</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="comment">your modifications thereto in binary form. You must make available free of</span></div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="comment">charge copies of the complete source code of the FDK AAC Codec and your</span></div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="comment">modifications thereto to recipients of copies in binary form.</span></div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="comment">The name of Fraunhofer may not be used to endorse or promote products derived</span></div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="comment">from this library without prior written permission.</span></div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="comment">You may not charge copyright license fees for anyone to use, copy or distribute</span></div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<span class="comment">the FDK AAC Codec software or your modifications thereto.</span></div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="comment">Your modified versions of the FDK AAC Codec must carry prominent notices stating</span></div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="comment">that you changed the software and the date of any change. For modified versions</span></div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="comment">of the FDK AAC Codec, the term &quot;Fraunhofer FDK AAC Codec Library for Android&quot;</span></div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="comment">must be replaced by the term &quot;Third-Party Modified Version of the Fraunhofer FDK</span></div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="comment">AAC Codec Library for Android.&quot;</span></div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="comment">3.    NO PATENT LICENSE</span></div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;<span class="comment">NO EXPRESS OR IMPLIED LICENSES TO ANY PATENT CLAIMS, including without</span></div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="comment">limitation the patents of Fraunhofer, ARE GRANTED BY THIS SOFTWARE LICENSE.</span></div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="comment">Fraunhofer provides no warranty of patent non-infringement with respect to this</span></div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;<span class="comment">software.</span></div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="comment">You may use this FDK AAC Codec software or modifications thereto only for</span></div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;<span class="comment">purposes that are authorized by appropriate patent licenses.</span></div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;<span class="comment">4.    DISCLAIMER</span></div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;<span class="comment">This FDK AAC Codec software is provided by Fraunhofer on behalf of the copyright</span></div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;<span class="comment">holders and contributors &quot;AS IS&quot; and WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES,</span></div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;<span class="comment">including but not limited to the implied warranties of merchantability and</span></div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;<span class="comment">fitness for a particular purpose. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR</span></div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="comment">CONTRIBUTORS BE LIABLE for any direct, indirect, incidental, special, exemplary,</span></div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<span class="comment">or consequential damages, including but not limited to procurement of substitute</span></div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;<span class="comment">goods or services; loss of use, data, or profits, or business interruption,</span></div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;<span class="comment">however caused and on any theory of liability, whether in contract, strict</span></div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;<span class="comment">liability, or tort (including negligence), arising in any way out of the use of</span></div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;<span class="comment">this software, even if advised of the possibility of such damage.</span></div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;<span class="comment">5.    CONTACT INFORMATION</span></div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;<span class="comment">Fraunhofer Institute for Integrated Circuits IIS</span></div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;<span class="comment">Attention: Audio and Multimedia Departments - FDK AAC LL</span></div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;<span class="comment">Am Wolfsmantel 33</span></div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;<span class="comment">91058 Erlangen, Germany</span></div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;<span class="comment">www.iis.fraunhofer.de/amm</span></div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;<span class="comment">amm-info@iis.fraunhofer.de</span></div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;<span class="comment">----------------------------------------------------------------------------- */</span></div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160; </div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;<span class="comment">/**************************** SBR encoder library ******************************</span></div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;<span class="comment">   Author(s):</span></div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;<span class="comment">   Description:</span></div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;<span class="comment">*******************************************************************************/</span></div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160; </div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;<span class="preprocessor">#ifndef TON_CORR_H</span></div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;<span class="preprocessor">#define TON_CORR_H</span></div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160; </div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;<span class="preprocessor">#include &quot;sbr_encoder.h&quot;</span></div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="mh__det_8h.html">mh_det.h</a>&quot;</span></div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="nf__est_8h.html">nf_est.h</a>&quot;</span></div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="invf__est_8h.html">invf_est.h</a>&quot;</span></div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160; </div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;<span class="preprocessor">#define MAX_NUM_PATCHES 6</span></div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;<span class="preprocessor">#define SCALE_NRGVEC 4</span></div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160; </div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="struct_p_a_t_c_h___p_a_r_a_m.html#a36889bcc6564996c224cf4cbb09385fc">  120</a></span>&#160;  <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> <a class="code" href="struct_p_a_t_c_h___p_a_r_a_m.html#a36889bcc6564996c224cf4cbb09385fc">sourceStartBand</a>; </div>
<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="struct_p_a_t_c_h___p_a_r_a_m.html#a8df9a34cba84e40ed27577aaf38e8771">  122</a></span>&#160;  <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> <a class="code" href="struct_p_a_t_c_h___p_a_r_a_m.html#a8df9a34cba84e40ed27577aaf38e8771">sourceStopBand</a>;  </div>
<div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="struct_p_a_t_c_h___p_a_r_a_m.html#a0665e41dfa6033baaa58df2925f01412">  124</a></span>&#160;  <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> <a class="code" href="struct_p_a_t_c_h___p_a_r_a_m.html#a0665e41dfa6033baaa58df2925f01412">guardStartBand</a>;  </div>
<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="struct_p_a_t_c_h___p_a_r_a_m.html#acca9293d5141aa1d8e220a3aa0467131">  126</a></span>&#160;  <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> <a class="code" href="struct_p_a_t_c_h___p_a_r_a_m.html#acca9293d5141aa1d8e220a3aa0467131">targetStartBand</a>; </div>
<div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="struct_p_a_t_c_h___p_a_r_a_m.html#a0aeef0018a8cfd5d0cc048d09e45ea8d">  128</a></span>&#160;  <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> <a class="code" href="struct_p_a_t_c_h___p_a_r_a_m.html#a0aeef0018a8cfd5d0cc048d09e45ea8d">targetBandOffs</a>;  </div>
<div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="struct_p_a_t_c_h___p_a_r_a_m.html#ab5faa0197d8dea6ad62aeb8f715fa143">  130</a></span>&#160;  <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> <a class="code" href="struct_p_a_t_c_h___p_a_r_a_m.html#ab5faa0197d8dea6ad62aeb8f715fa143">numBandsInPatch</a>; </div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;} <a class="code" href="struct_p_a_t_c_h___p_a_r_a_m.html">PATCH_PARAM</a>;</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160; </div>
<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html">  133</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#a16c665dc4dd5264e74512faf9e3db472">  134</a></span>&#160;  <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> <a class="code" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#a16c665dc4dd5264e74512faf9e3db472">switchInverseFilt</a>; </div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;  <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> noQmfChannels;</div>
<div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#ab6367a310273562180c0420c95690e29">  137</a></span>&#160;  <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> <a class="code" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#ab6367a310273562180c0420c95690e29">bufferLength</a>;      </div>
<div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#a0aafcaffb85e230c3811105bda87b991">  138</a></span>&#160;  <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> <a class="code" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#a0aafcaffb85e230c3811105bda87b991">stepSize</a>;          </div>
<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#a9495bcc223dba595bbb15eb26eb20efa">  139</a></span>&#160;  <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> <a class="code" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#a9495bcc223dba595bbb15eb26eb20efa">numberOfEstimates</a>; </div>
<div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#a10963749239d9557b4ba8ee8cdae331e">  141</a></span>&#160;  <a class="code" href="machine__type_8h.html#afff0ab3629a68bc1bb3b2a2f4296173f">UINT</a> <a class="code" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#a10963749239d9557b4ba8ee8cdae331e">numberOfEstimatesPerFrame</a>; </div>
<div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#a31c37af4501c43f977424edc89149998">  143</a></span>&#160;  <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> lpcLength[2]; </div>
<div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#acdc32f18617d82621cbc1d24cec9b98d">  144</a></span>&#160;  <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> <a class="code" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#acdc32f18617d82621cbc1d24cec9b98d">nextSample</a>;   </div>
<div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#a90045951d8aa99d74738cad8cf4defdf">  145</a></span>&#160;  <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> <a class="code" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#a90045951d8aa99d74738cad8cf4defdf">move</a>; </div>
<div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#a4f2ccb816c6304a416870c016cc41ac0">  147</a></span>&#160;  <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> <a class="code" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#a4f2ccb816c6304a416870c016cc41ac0">frameStartIndex</a>; </div>
<div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#a427d256e8991299d34db836e0ffafbba">  149</a></span>&#160;  <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> <a class="code" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#a427d256e8991299d34db836e0ffafbba">startIndexMatrix</a>;       </div>
<div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#ae530a2d6e50a6a76876ab7c4f366ab56">  151</a></span>&#160;  <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> <a class="code" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#ae530a2d6e50a6a76876ab7c4f366ab56">frameStartIndexInvfEst</a>; </div>
<div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#a041bb5667d2ea9a9bcdcee5d73f5f003">  155</a></span>&#160;  <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> <a class="code" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#a041bb5667d2ea9a9bcdcee5d73f5f003">prevTransientFlag</a>;  </div>
<div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#ac7807cf6af0ea07e611fa02400baf241">  157</a></span>&#160;  <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> <a class="code" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#ac7807cf6af0ea07e611fa02400baf241">transientNextFrame</a>; </div>
<div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#a9587874b849699ad9d74d8ebddcc4a04">  159</a></span>&#160;  <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> <a class="code" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#a9587874b849699ad9d74d8ebddcc4a04">transientPosOffset</a>; </div>
<div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#a33a0f1ef518bbbb24ecc80eae30bf5ae">  163</a></span>&#160;  <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a>* signMatrix[MAX_NO_OF_ESTIMATES]; </div>
<div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#a47a14cc1c2c36d8c17c2a0f03d22bf0c">  168</a></span>&#160;  FIXP_DBL* quotaMatrix[MAX_NO_OF_ESTIMATES]; </div>
<div class="line"><a name="l00172"></a><span class="lineno"><a class="line" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#aa46635f714a70c483b7842f1d8b157a7">  172</a></span>&#160;  FIXP_DBL nrgVector[MAX_NO_OF_ESTIMATES]; </div>
<div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#a9056bd6c971d0205ddd7a8cb8b92fcbd">  174</a></span>&#160;  FIXP_DBL nrgVectorFreq[64]; </div>
<div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#ad60fe0bc339a5802c3eba562375cee51">  177</a></span>&#160;  <a class="code" href="machine__type_8h.html#af3e70e9edd31fb299154d959c70ac6bf">SCHAR</a> indexVector[64]; </div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;  <a class="code" href="struct_p_a_t_c_h___p_a_r_a_m.html">PATCH_PARAM</a></div>
<div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#a7e1a093c4f66cc4de020032150a9366c">  181</a></span>&#160;  patchParam[MAX_NUM_PATCHES]; </div>
<div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#ad692b8ca045da9956c9ed5511c7cc134">  182</a></span>&#160;  <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> <a class="code" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#ad692b8ca045da9956c9ed5511c7cc134">guard</a>;                   </div>
<div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#a63f3086a92d470b922a45f73f0d5d28d">  183</a></span>&#160;  <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> <a class="code" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#a63f3086a92d470b922a45f73f0d5d28d">shiftStartSb</a>; </div>
<div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#a476a8671ce50fc8dc5881986eae31316">  185</a></span>&#160;  <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> <a class="code" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#a476a8671ce50fc8dc5881986eae31316">noOfPatches</a>;  </div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;  <a class="code" href="struct_s_b_r___m_i_s_s_i_n_g___h_a_r_m_o_n_i_c_s___d_e_t_e_c_t_o_r.html">SBR_MISSING_HARMONICS_DETECTOR</a></div>
<div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#ac5698ccc42c9ed415d4da4ffaa26841a">  188</a></span>&#160;  <a class="code" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#ac5698ccc42c9ed415d4da4ffaa26841a">sbrMissingHarmonicsDetector</a>; </div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;  <a class="code" href="struct_s_b_r___n_o_i_s_e___f_l_o_o_r___e_s_t_i_m_a_t_e.html">SBR_NOISE_FLOOR_ESTIMATE</a></div>
<div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#ad2291b6a439bb2b236f60cfe7179768f">  191</a></span>&#160;  <a class="code" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#ad2291b6a439bb2b236f60cfe7179768f">sbrNoiseFloorEstimate</a>;       </div>
<div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#aa9865f1cfee4316162ff9a3ea26b0f18">  192</a></span>&#160;  <a class="code" href="struct_s_b_r___i_n_v___f_i_l_t___e_s_t.html">SBR_INV_FILT_EST</a> <a class="code" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#aa9865f1cfee4316162ff9a3ea26b0f18">sbrInvFilt</a>; </div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;} <a class="code" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html">SBR_TON_CORR_EST</a>;</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160; </div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;<span class="keyword">typedef</span> <a class="code" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html">SBR_TON_CORR_EST</a>* <a class="code" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html">HANDLE_SBR_TON_CORR_EST</a>;</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160; </div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;<span class="keywordtype">void</span> <a class="code" href="ton__corr_8h.html#a443b6abc5370d1fee3e5941d5b25659e">FDKsbrEnc_TonCorrParamExtr</a>(</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;    <a class="code" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html">HANDLE_SBR_TON_CORR_EST</a> hTonCorr, </div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;    INVF_MODE* infVec, </div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;    FIXP_DBL* noiseLevels, </div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;    <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a>* missingHarmonicFlag, </div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;    <a class="code" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a>* missingHarmonicsIndex, </div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;    <a class="code" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a>* envelopeCompensation,  </div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;    <span class="keyword">const</span> <a class="code" href="struct_s_b_r___f_r_a_m_e___i_n_f_o.html">SBR_FRAME_INFO</a>* frameInfo, </div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;    <a class="code" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a>* transientInfo,            </div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;    <a class="code" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a>* freqBandTable,            </div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;    <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> nSfb,           </div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;    XPOS_MODE xposType, </div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;    <a class="code" href="machine__type_8h.html#afff0ab3629a68bc1bb3b2a2f4296173f">UINT</a> sbrSyntaxFlags);</div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160; </div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;<a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> <a class="code" href="ton__corr_8h.html#a9d3573ce144bc6e824bf521b12e0af34">FDKsbrEnc_CreateTonCorrParamExtr</a>(</div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;    <a class="code" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html">HANDLE_SBR_TON_CORR_EST</a></div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;        hTonCorr, </div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;    <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> chan);    </div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;<a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> <a class="code" href="ton__corr_8h.html#a3b767c9b0f3713d01d36a1810679736a">FDKsbrEnc_InitTonCorrParamExtr</a>(</div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;    <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> frameSize, </div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;    <a class="code" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html">HANDLE_SBR_TON_CORR_EST</a></div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;        hTonCorr, </div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;    <a class="code" href="struct_s_b_r___c_o_n_f_i_g___d_a_t_a.html">HANDLE_SBR_CONFIG_DATA</a></div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;        sbrCfg,           </div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;    <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> timeSlots,        </div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;    <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> xposCtrl,         </div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;    <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> ana_max_level,    </div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;    <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> noiseBands,       </div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;    <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> noiseFloorOffset, </div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;    <a class="code" href="machine__type_8h.html#afff0ab3629a68bc1bb3b2a2f4296173f">UINT</a> useSpeechConfig  </div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;);</div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160; </div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;<span class="keywordtype">void</span> <a class="code" href="ton__corr_8h.html#a2acfd3b4fb6d527747be5eb1952b2c54">FDKsbrEnc_DeleteTonCorrParamExtr</a>(</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;    <a class="code" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html">HANDLE_SBR_TON_CORR_EST</a> hTonCorr); </div>
<div class="line"><a name="l00239"></a><span class="lineno"><a class="line" href="ton__corr_8h.html#ab706294b3bfbda700a1598ccd83f8229">  239</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="ton__corr_8h.html#ab706294b3bfbda700a1598ccd83f8229">FDKsbrEnc_CalculateTonalityQuotas</a>(</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;    <a class="code" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html">HANDLE_SBR_TON_CORR_EST</a> hTonCorr, FIXP_DBL** sourceBufferReal,</div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;    FIXP_DBL** sourceBufferImag, <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> usb,</div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;    <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> qmfScale </div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;);</div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160; </div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;<a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> <a class="code" href="ton__corr_8h.html#a814807f60ae3e6da8e90cf55cc7bc827">FDKsbrEnc_ResetTonCorrParamExtr</a>(</div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;    <a class="code" href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html">HANDLE_SBR_TON_CORR_EST</a> hTonCorr, </div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;    <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> xposctrl,                     </div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;    <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> highBandStartSb,              </div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;    <a class="code" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a>* v_k_master, </div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;    <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> numMaster,     </div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;    <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> fs,            </div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;    <a class="code" href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a>**</div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;        freqBandTable, </div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;    <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a>* nSfb,         </div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;    <a class="code" href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a> noQmfChannels  </div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;);</div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="ainvf__est_8h_html"><div class="ttname"><a href="invf__est_8h.html">invf_est.h</a></div><div class="ttdoc">Inverse Filtering detection prototypes.</div></div>
<div class="ttc" id="amachine__type_8h_html_a4cf9af43a95c45c3d469658098dfbe1a"><div class="ttname"><a href="machine__type_8h.html#a4cf9af43a95c45c3d469658098dfbe1a">INT</a></div><div class="ttdeci">signed int INT</div><div class="ttdef"><b>Definition:</b> machine_type.h:176</div></div>
<div class="ttc" id="amachine__type_8h_html_aed5a2dbe32af3a91203f0f5e8697e873"><div class="ttname"><a href="machine__type_8h.html#aed5a2dbe32af3a91203f0f5e8697e873">UCHAR</a></div><div class="ttdeci">unsigned char UCHAR</div><div class="ttdef"><b>Definition:</b> machine_type.h:190</div></div>
<div class="ttc" id="amachine__type_8h_html_af3e70e9edd31fb299154d959c70ac6bf"><div class="ttname"><a href="machine__type_8h.html#af3e70e9edd31fb299154d959c70ac6bf">SCHAR</a></div><div class="ttdeci">signed char SCHAR</div><div class="ttdef"><b>Definition:</b> machine_type.h:189</div></div>
<div class="ttc" id="amachine__type_8h_html_afff0ab3629a68bc1bb3b2a2f4296173f"><div class="ttname"><a href="machine__type_8h.html#afff0ab3629a68bc1bb3b2a2f4296173f">UINT</a></div><div class="ttdeci">unsigned int UINT</div><div class="ttdef"><b>Definition:</b> machine_type.h:177</div></div>
<div class="ttc" id="amh__det_8h_html"><div class="ttname"><a href="mh__det_8h.html">mh_det.h</a></div><div class="ttdoc">missing harmonics detection header file</div></div>
<div class="ttc" id="anf__est_8h_html"><div class="ttname"><a href="nf__est_8h.html">nf_est.h</a></div><div class="ttdoc">Noise floor estimation structs and prototypes.</div></div>
<div class="ttc" id="astruct_p_a_t_c_h___p_a_r_a_m_html"><div class="ttname"><a href="struct_p_a_t_c_h___p_a_r_a_m.html">PATCH_PARAM</a></div><div class="ttdef"><b>Definition:</b> lpp_tran.h:173</div></div>
<div class="ttc" id="astruct_p_a_t_c_h___p_a_r_a_m_html_a0665e41dfa6033baaa58df2925f01412"><div class="ttname"><a href="struct_p_a_t_c_h___p_a_r_a_m.html#a0665e41dfa6033baaa58df2925f01412">PATCH_PARAM::guardStartBand</a></div><div class="ttdeci">INT guardStartBand</div><div class="ttdef"><b>Definition:</b> ton_corr.h:124</div></div>
<div class="ttc" id="astruct_p_a_t_c_h___p_a_r_a_m_html_a0aeef0018a8cfd5d0cc048d09e45ea8d"><div class="ttname"><a href="struct_p_a_t_c_h___p_a_r_a_m.html#a0aeef0018a8cfd5d0cc048d09e45ea8d">PATCH_PARAM::targetBandOffs</a></div><div class="ttdeci">INT targetBandOffs</div><div class="ttdef"><b>Definition:</b> ton_corr.h:128</div></div>
<div class="ttc" id="astruct_p_a_t_c_h___p_a_r_a_m_html_a36889bcc6564996c224cf4cbb09385fc"><div class="ttname"><a href="struct_p_a_t_c_h___p_a_r_a_m.html#a36889bcc6564996c224cf4cbb09385fc">PATCH_PARAM::sourceStartBand</a></div><div class="ttdeci">INT sourceStartBand</div><div class="ttdef"><b>Definition:</b> ton_corr.h:120</div></div>
<div class="ttc" id="astruct_p_a_t_c_h___p_a_r_a_m_html_a8df9a34cba84e40ed27577aaf38e8771"><div class="ttname"><a href="struct_p_a_t_c_h___p_a_r_a_m.html#a8df9a34cba84e40ed27577aaf38e8771">PATCH_PARAM::sourceStopBand</a></div><div class="ttdeci">INT sourceStopBand</div><div class="ttdef"><b>Definition:</b> ton_corr.h:122</div></div>
<div class="ttc" id="astruct_p_a_t_c_h___p_a_r_a_m_html_ab5faa0197d8dea6ad62aeb8f715fa143"><div class="ttname"><a href="struct_p_a_t_c_h___p_a_r_a_m.html#ab5faa0197d8dea6ad62aeb8f715fa143">PATCH_PARAM::numBandsInPatch</a></div><div class="ttdeci">INT numBandsInPatch</div><div class="ttdef"><b>Definition:</b> ton_corr.h:130</div></div>
<div class="ttc" id="astruct_p_a_t_c_h___p_a_r_a_m_html_acca9293d5141aa1d8e220a3aa0467131"><div class="ttname"><a href="struct_p_a_t_c_h___p_a_r_a_m.html#acca9293d5141aa1d8e220a3aa0467131">PATCH_PARAM::targetStartBand</a></div><div class="ttdeci">INT targetStartBand</div><div class="ttdef"><b>Definition:</b> ton_corr.h:126</div></div>
<div class="ttc" id="astruct_s_b_r___c_o_n_f_i_g___d_a_t_a_html"><div class="ttname"><a href="struct_s_b_r___c_o_n_f_i_g___d_a_t_a.html">SBR_CONFIG_DATA</a></div><div class="ttdef"><b>Definition:</b> sbr_encoder.h:244</div></div>
<div class="ttc" id="astruct_s_b_r___f_r_a_m_e___i_n_f_o_html"><div class="ttname"><a href="struct_s_b_r___f_r_a_m_e___i_n_f_o.html">SBR_FRAME_INFO</a></div><div class="ttdoc">time/frequency grid description for one frame</div><div class="ttdef"><b>Definition:</b> fram_gen.h:251</div></div>
<div class="ttc" id="astruct_s_b_r___i_n_v___f_i_l_t___e_s_t_html"><div class="ttname"><a href="struct_s_b_r___i_n_v___f_i_l_t___e_s_t.html">SBR_INV_FILT_EST</a></div><div class="ttdef"><b>Definition:</b> invf_est.h:145</div></div>
<div class="ttc" id="astruct_s_b_r___m_i_s_s_i_n_g___h_a_r_m_o_n_i_c_s___d_e_t_e_c_t_o_r_html"><div class="ttname"><a href="struct_s_b_r___m_i_s_s_i_n_g___h_a_r_m_o_n_i_c_s___d_e_t_e_c_t_o_r.html">SBR_MISSING_HARMONICS_DETECTOR</a></div><div class="ttdef"><b>Definition:</b> mh_det.h:153</div></div>
<div class="ttc" id="astruct_s_b_r___n_o_i_s_e___f_l_o_o_r___e_s_t_i_m_a_t_e_html"><div class="ttname"><a href="struct_s_b_r___n_o_i_s_e___f_l_o_o_r___e_s_t_i_m_a_t_e.html">SBR_NOISE_FLOOR_ESTIMATE</a></div><div class="ttdef"><b>Definition:</b> nf_est.h:116</div></div>
<div class="ttc" id="astruct_s_b_r___t_o_n___c_o_r_r___e_s_t_html"><div class="ttname"><a href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html">SBR_TON_CORR_EST</a></div><div class="ttdef"><b>Definition:</b> ton_corr.h:133</div></div>
<div class="ttc" id="astruct_s_b_r___t_o_n___c_o_r_r___e_s_t_html_a041bb5667d2ea9a9bcdcee5d73f5f003"><div class="ttname"><a href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#a041bb5667d2ea9a9bcdcee5d73f5f003">SBR_TON_CORR_EST::prevTransientFlag</a></div><div class="ttdeci">INT prevTransientFlag</div><div class="ttdef"><b>Definition:</b> ton_corr.h:155</div></div>
<div class="ttc" id="astruct_s_b_r___t_o_n___c_o_r_r___e_s_t_html_a0aafcaffb85e230c3811105bda87b991"><div class="ttname"><a href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#a0aafcaffb85e230c3811105bda87b991">SBR_TON_CORR_EST::stepSize</a></div><div class="ttdeci">INT stepSize</div><div class="ttdef"><b>Definition:</b> ton_corr.h:138</div></div>
<div class="ttc" id="astruct_s_b_r___t_o_n___c_o_r_r___e_s_t_html_a10963749239d9557b4ba8ee8cdae331e"><div class="ttname"><a href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#a10963749239d9557b4ba8ee8cdae331e">SBR_TON_CORR_EST::numberOfEstimatesPerFrame</a></div><div class="ttdeci">UINT numberOfEstimatesPerFrame</div><div class="ttdef"><b>Definition:</b> ton_corr.h:141</div></div>
<div class="ttc" id="astruct_s_b_r___t_o_n___c_o_r_r___e_s_t_html_a16c665dc4dd5264e74512faf9e3db472"><div class="ttname"><a href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#a16c665dc4dd5264e74512faf9e3db472">SBR_TON_CORR_EST::switchInverseFilt</a></div><div class="ttdeci">INT switchInverseFilt</div><div class="ttdef"><b>Definition:</b> ton_corr.h:134</div></div>
<div class="ttc" id="astruct_s_b_r___t_o_n___c_o_r_r___e_s_t_html_a427d256e8991299d34db836e0ffafbba"><div class="ttname"><a href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#a427d256e8991299d34db836e0ffafbba">SBR_TON_CORR_EST::startIndexMatrix</a></div><div class="ttdeci">INT startIndexMatrix</div><div class="ttdef"><b>Definition:</b> ton_corr.h:149</div></div>
<div class="ttc" id="astruct_s_b_r___t_o_n___c_o_r_r___e_s_t_html_a476a8671ce50fc8dc5881986eae31316"><div class="ttname"><a href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#a476a8671ce50fc8dc5881986eae31316">SBR_TON_CORR_EST::noOfPatches</a></div><div class="ttdeci">INT noOfPatches</div><div class="ttdef"><b>Definition:</b> ton_corr.h:185</div></div>
<div class="ttc" id="astruct_s_b_r___t_o_n___c_o_r_r___e_s_t_html_a4f2ccb816c6304a416870c016cc41ac0"><div class="ttname"><a href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#a4f2ccb816c6304a416870c016cc41ac0">SBR_TON_CORR_EST::frameStartIndex</a></div><div class="ttdeci">INT frameStartIndex</div><div class="ttdef"><b>Definition:</b> ton_corr.h:147</div></div>
<div class="ttc" id="astruct_s_b_r___t_o_n___c_o_r_r___e_s_t_html_a63f3086a92d470b922a45f73f0d5d28d"><div class="ttname"><a href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#a63f3086a92d470b922a45f73f0d5d28d">SBR_TON_CORR_EST::shiftStartSb</a></div><div class="ttdeci">INT shiftStartSb</div><div class="ttdef"><b>Definition:</b> ton_corr.h:183</div></div>
<div class="ttc" id="astruct_s_b_r___t_o_n___c_o_r_r___e_s_t_html_a90045951d8aa99d74738cad8cf4defdf"><div class="ttname"><a href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#a90045951d8aa99d74738cad8cf4defdf">SBR_TON_CORR_EST::move</a></div><div class="ttdeci">INT move</div><div class="ttdef"><b>Definition:</b> ton_corr.h:145</div></div>
<div class="ttc" id="astruct_s_b_r___t_o_n___c_o_r_r___e_s_t_html_a9495bcc223dba595bbb15eb26eb20efa"><div class="ttname"><a href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#a9495bcc223dba595bbb15eb26eb20efa">SBR_TON_CORR_EST::numberOfEstimates</a></div><div class="ttdeci">INT numberOfEstimates</div><div class="ttdef"><b>Definition:</b> ton_corr.h:139</div></div>
<div class="ttc" id="astruct_s_b_r___t_o_n___c_o_r_r___e_s_t_html_a9587874b849699ad9d74d8ebddcc4a04"><div class="ttname"><a href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#a9587874b849699ad9d74d8ebddcc4a04">SBR_TON_CORR_EST::transientPosOffset</a></div><div class="ttdeci">INT transientPosOffset</div><div class="ttdef"><b>Definition:</b> ton_corr.h:159</div></div>
<div class="ttc" id="astruct_s_b_r___t_o_n___c_o_r_r___e_s_t_html_aa9865f1cfee4316162ff9a3ea26b0f18"><div class="ttname"><a href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#aa9865f1cfee4316162ff9a3ea26b0f18">SBR_TON_CORR_EST::sbrInvFilt</a></div><div class="ttdeci">SBR_INV_FILT_EST sbrInvFilt</div><div class="ttdef"><b>Definition:</b> ton_corr.h:192</div></div>
<div class="ttc" id="astruct_s_b_r___t_o_n___c_o_r_r___e_s_t_html_ab6367a310273562180c0420c95690e29"><div class="ttname"><a href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#ab6367a310273562180c0420c95690e29">SBR_TON_CORR_EST::bufferLength</a></div><div class="ttdeci">INT bufferLength</div><div class="ttdef"><b>Definition:</b> ton_corr.h:137</div></div>
<div class="ttc" id="astruct_s_b_r___t_o_n___c_o_r_r___e_s_t_html_ac5698ccc42c9ed415d4da4ffaa26841a"><div class="ttname"><a href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#ac5698ccc42c9ed415d4da4ffaa26841a">SBR_TON_CORR_EST::sbrMissingHarmonicsDetector</a></div><div class="ttdeci">SBR_MISSING_HARMONICS_DETECTOR sbrMissingHarmonicsDetector</div><div class="ttdef"><b>Definition:</b> ton_corr.h:188</div></div>
<div class="ttc" id="astruct_s_b_r___t_o_n___c_o_r_r___e_s_t_html_ac7807cf6af0ea07e611fa02400baf241"><div class="ttname"><a href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#ac7807cf6af0ea07e611fa02400baf241">SBR_TON_CORR_EST::transientNextFrame</a></div><div class="ttdeci">INT transientNextFrame</div><div class="ttdef"><b>Definition:</b> ton_corr.h:157</div></div>
<div class="ttc" id="astruct_s_b_r___t_o_n___c_o_r_r___e_s_t_html_acdc32f18617d82621cbc1d24cec9b98d"><div class="ttname"><a href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#acdc32f18617d82621cbc1d24cec9b98d">SBR_TON_CORR_EST::nextSample</a></div><div class="ttdeci">INT nextSample</div><div class="ttdef"><b>Definition:</b> ton_corr.h:144</div></div>
<div class="ttc" id="astruct_s_b_r___t_o_n___c_o_r_r___e_s_t_html_ad2291b6a439bb2b236f60cfe7179768f"><div class="ttname"><a href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#ad2291b6a439bb2b236f60cfe7179768f">SBR_TON_CORR_EST::sbrNoiseFloorEstimate</a></div><div class="ttdeci">SBR_NOISE_FLOOR_ESTIMATE sbrNoiseFloorEstimate</div><div class="ttdef"><b>Definition:</b> ton_corr.h:191</div></div>
<div class="ttc" id="astruct_s_b_r___t_o_n___c_o_r_r___e_s_t_html_ad692b8ca045da9956c9ed5511c7cc134"><div class="ttname"><a href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#ad692b8ca045da9956c9ed5511c7cc134">SBR_TON_CORR_EST::guard</a></div><div class="ttdeci">INT guard</div><div class="ttdef"><b>Definition:</b> ton_corr.h:182</div></div>
<div class="ttc" id="astruct_s_b_r___t_o_n___c_o_r_r___e_s_t_html_ae530a2d6e50a6a76876ab7c4f366ab56"><div class="ttname"><a href="struct_s_b_r___t_o_n___c_o_r_r___e_s_t.html#ae530a2d6e50a6a76876ab7c4f366ab56">SBR_TON_CORR_EST::frameStartIndexInvfEst</a></div><div class="ttdeci">INT frameStartIndexInvfEst</div><div class="ttdef"><b>Definition:</b> ton_corr.h:151</div></div>
<div class="ttc" id="aton__corr_8h_html_a2acfd3b4fb6d527747be5eb1952b2c54"><div class="ttname"><a href="ton__corr_8h.html#a2acfd3b4fb6d527747be5eb1952b2c54">FDKsbrEnc_DeleteTonCorrParamExtr</a></div><div class="ttdeci">void FDKsbrEnc_DeleteTonCorrParamExtr(HANDLE_SBR_TON_CORR_EST hTonCorr)</div><div class="ttdoc">Deletes the tonality correction paramtere module.</div><div class="ttdef"><b>Definition:</b> ton_corr.cpp:880</div></div>
<div class="ttc" id="aton__corr_8h_html_a3b767c9b0f3713d01d36a1810679736a"><div class="ttname"><a href="ton__corr_8h.html#a3b767c9b0f3713d01d36a1810679736a">FDKsbrEnc_InitTonCorrParamExtr</a></div><div class="ttdeci">INT FDKsbrEnc_InitTonCorrParamExtr(INT frameSize, HANDLE_SBR_TON_CORR_EST hTonCorr, HANDLE_SBR_CONFIG_DATA sbrCfg, INT timeSlots, INT xposCtrl, INT ana_max_level, INT noiseBands, INT noiseFloorOffset, UINT useSpeechConfig)</div><div class="ttdoc">Initialize an instance of the tonality correction parameter module.</div><div class="ttdef"><b>Definition:</b> ton_corr.cpp:690</div></div>
<div class="ttc" id="aton__corr_8h_html_a443b6abc5370d1fee3e5941d5b25659e"><div class="ttname"><a href="ton__corr_8h.html#a443b6abc5370d1fee3e5941d5b25659e">FDKsbrEnc_TonCorrParamExtr</a></div><div class="ttdeci">void FDKsbrEnc_TonCorrParamExtr(HANDLE_SBR_TON_CORR_EST hTonCorr, INVF_MODE *infVec, FIXP_DBL *noiseLevels, INT *missingHarmonicFlag, UCHAR *missingHarmonicsIndex, UCHAR *envelopeCompensation, const SBR_FRAME_INFO *frameInfo, UCHAR *transientInfo, UCHAR *freqBandTable, INT nSfb, XPOS_MODE xposType, UINT sbrSyntaxFlags)</div><div class="ttdoc">Extracts the parameters required in the decoder to obtain the correct tonal to noise ratio after SBR.</div><div class="ttdef"><b>Definition:</b> ton_corr.cpp:359</div></div>
<div class="ttc" id="aton__corr_8h_html_a814807f60ae3e6da8e90cf55cc7bc827"><div class="ttname"><a href="ton__corr_8h.html#a814807f60ae3e6da8e90cf55cc7bc827">FDKsbrEnc_ResetTonCorrParamExtr</a></div><div class="ttdeci">INT FDKsbrEnc_ResetTonCorrParamExtr(HANDLE_SBR_TON_CORR_EST hTonCorr, INT xposctrl, INT highBandStartSb, UCHAR *v_k_master, INT numMaster, INT fs, UCHAR **freqBandTable, INT *nSfb, INT noQmfChannels)</div><div class="ttdoc">resets tonality correction parameter module.</div><div class="ttdef"><b>Definition:</b> ton_corr.cpp:828</div></div>
<div class="ttc" id="aton__corr_8h_html_a9d3573ce144bc6e824bf521b12e0af34"><div class="ttname"><a href="ton__corr_8h.html#a9d3573ce144bc6e824bf521b12e0af34">FDKsbrEnc_CreateTonCorrParamExtr</a></div><div class="ttdeci">INT FDKsbrEnc_CreateTonCorrParamExtr(HANDLE_SBR_TON_CORR_EST hTonCorr, INT chan)</div><div class="ttdoc">Creates an instance of the tonality correction parameter module.</div><div class="ttdef"><b>Definition:</b> ton_corr.cpp:644</div></div>
<div class="ttc" id="aton__corr_8h_html_ab706294b3bfbda700a1598ccd83f8229"><div class="ttname"><a href="ton__corr_8h.html#ab706294b3bfbda700a1598ccd83f8229">FDKsbrEnc_CalculateTonalityQuotas</a></div><div class="ttdeci">void FDKsbrEnc_CalculateTonalityQuotas(HANDLE_SBR_TON_CORR_EST hTonCorr, FIXP_DBL **sourceBufferReal, FIXP_DBL **sourceBufferImag, INT usb, INT qmfScale)</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
